<?php


require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');

$configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', false);
sfContext::createInstance($configuration)->dispatch();

//$session_user = sfContext::createInstance($configuration)->getUser();
//$sfGuardUser = null;
//if($session_user->isAuthenticated()) {
//	$sfGuardUser = $session_user->getGuardUser();
//}
//if ($sfGuardUser) {
//	echo "/* c'est bon ! */";
//}
//else {
//	echo "/* c'est pas bon ! */";
//}


//<html>
//<head>
//	<title>Frigospeed</title>
//</head>
//
//<body style="background-color: #6699CC">
//<div style="margin-top: 20%; margin-left: 40%">
//	<form method="post">
//	<table border="1px" style="border-color: white; width: 30%;">
//		<tr style="background-color: white">
//			<td colspan="2" style="text-align: center; font: 14px Verdana">Authentication</td>
//		</tr>
//		<tr>
//			<td style="width: 30%">Login:</td>
//			<td style="width: 70%"><input type="text" name="login" /></td>
//		</tr>
//		<tr>
//			<td style="width: 30%">Password:</td>
//			<td style="width: 70%"><input type="password" name="login" /></td>
//		</tr>
//		<tr>
//			<td colspan="2" style="text-align: center"><input type="submit" name="button" value="S'authentifier" /></td>
//		</tr>						
//	</table>
//	</form>
//</div>
//</body>
//</html>
?>